package com.vichat.api.exception;

/**
 * Created by wangly on 2018/10/17.
 */
public class VCException extends Exception {
    private String code;

    public VCException() {
    }

    public VCException(String message, Throwable cause) {
        super(message, cause);
    }

    public VCException(String code, String msg) {
        super(msg);
        this.setCode(code);
    }

    public VCException(Throwable cause) {
        super(cause);
    }



    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

}
